/**
 * \file defines.h
 * \brief Various definition file
 * \author Marc Laval
 * \version 0.1
 * \date 10/2011
 *
 */

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include <stdexcept>

#include <SDL/SDL.h>

#ifndef _DEFINES_H_
#define _DEFINES_H_


//============ Constantes globales =============
#define TGM_HEADER_SIZE 13
#define FILE_BLOCK_SIZE 128

#define LOGFILE_NAME "yag.log"

//============ Macros =============

#define min(a,b) (a<=b?1:0)


#endif
